<html>
<head><meta charset="utf-8"><title>mdbook-mermaid · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html">mdbook-mermaid</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233242027"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242027" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242027">(Apr 05 2021 at 22:51)</a>:</h4>
<p>I want to install <code>mdbook-mermaid</code> in the repo</p>



<a name="233242045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242045">(Apr 05 2021 at 22:52)</a>:</h4>
<p>Maybe <span class="user-mention" data-user-id="116122">@simulacrum</span> or <span class="user-mention" data-user-id="121055">@Pietro Albini</span> can help me =)</p>



<a name="233242077"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242077" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242077">(Apr 05 2021 at 22:52)</a>:</h4>
<p>Or others!</p>



<a name="233242111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242111">(Apr 05 2021 at 22:52)</a>:</h4>
<p>I will push a branch, but I'm not sure how to modify the <a href="https://github.com/rust-lang/wg-async-foundations/blob/e5ae0c948411364046f8a83eb05ea39afc1b0655/.github/workflows/ci.yml#L16-L19">github actions</a> code so that it downloads the <code>mdbook-mermaid</code> binary</p>



<a name="233242134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242134">(Apr 05 2021 at 22:52)</a>:</h4>
<p><span class="user-mention" data-user-id="143300">@jer</span> points out that there are <a href="https://github.com/badboy/mdbook-mermaid/releases">binary releases</a></p>



<a name="233242284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242284">(Apr 05 2021 at 22:54)</a>:</h4>
<p>The easiest thing is generally to build from scratch, but if you want to pin a particular release, maybe just curl the binary into /usr/local/bin or something</p>



<a name="233242350"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242350" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242350">(Apr 05 2021 at 22:55)</a>:</h4>
<p>opened <a href="https://github.com/rust-lang/wg-async-foundations/pull/123">https://github.com/rust-lang/wg-async-foundations/pull/123</a></p>



<a name="233242381"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242381" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242381">(Apr 05 2021 at 22:55)</a>:</h4>
<p>I could presumably just add <code>cargo install mdbook-mermaid</code></p>



<a name="233242776"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233242776" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Doc Jones <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233242776">(Apr 05 2021 at 23:00)</a>:</h4>
<p><a href="https://fnordig.de/2019/07/11/mdbook-toc-and-mermaid-preprocessors/">https://fnordig.de/2019/07/11/mdbook-toc-and-mermaid-preprocessors/</a></p>



<a name="233289903"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233289903" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233289903">(Apr 06 2021 at 09:24)</a>:</h4>
<p>I guess I just want to copy what <span class="user-mention" data-user-id="213313">@Taiki Endo</span> did, but apply it to badboy/mdbook-mermaid:</p>
<div class="codehilite"><pre><span></span><code>          tag=$(curl -LsSf https://api.github.com/repos/badboy/mdbook-mermaid/releases/latest | jq -r &#39;.tag_name&#39;)
          curl -LsSf https://github.com/badboy/mdbook-mermaid/releases/download/$tag/mdbook-mermaid-$tag-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
</code></pre></div>



<a name="233289955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233289955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233289955">(Apr 06 2021 at 09:24)</a>:</h4>
<p>...and hope the versions line up</p>



<a name="233290573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233290573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233290573">(Apr 06 2021 at 09:30)</a>:</h4>
<p>pushed that</p>



<a name="233290677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233290677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233290677">(Apr 06 2021 at 09:31)</a>:</h4>
<p>how does one test a GH action, though?</p>



<a name="233320662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233320662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/mdbook-mermaid.html#233320662">(Apr 06 2021 at 13:43)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/mdbook-mermaid/near/233290677">said</a>:</p>
<blockquote>
<p>how does one test a GH action, though?</p>
</blockquote>
<p>By running it <span aria-label="stuck out tongue wink" class="emoji emoji-1f61c" role="img" title="stuck out tongue wink">:stuck_out_tongue_wink:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>